package second.com.zut;

public class Car {
	private String brand;
	private String color;
	private double sweptVolume;

//	public Car(String brand, String color, double sweptVolume) {
//	this.brand = brand;
//	this.color = color;
//	this.sweptVolume = sweptVolume;
//}
	public void setBrand(String brand) {
		this.brand = brand;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public void setSweptVolume(double sweptVolume) {
		this.sweptVolume = sweptVolume;
	}

	@Override
	public String toString() {
		return "Car [brand=" + brand + ", color=" + color + ", sweptVolume=" + sweptVolume + "]";
	}

}
